<?php
//轮播图端口
	namespace Application\Home\Controller;
	use Application\Home\Model\Banner as BannerModel;
	class Banner{
		public function index(){
			
			$banner = new BannerModel();

			$data = $banner->field('banner_src')->select();

			$json = json_encode($data);
			
			echo $json;

		}
	}
?>